<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<LINK href="css/style.css" type="text/css" rel="stylesheet" />
<title>集群监控系统</title>
</head>

<body>
<%
	session.invalidate();
%>
<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody>
	<tr>
    	<td style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#cccccc, EndColorStr=#ffffff)" valign="middle" align="center" height="100%" width="100%">
    	<form name="subLogin" method="post" action="login_check.jsp">
        <table style="background-repeat:repeat" height="500" width="750" background="image/index.jpg" align="center" cellpadding="0" cellspacing="0" border="0">
        	<tbody>
				<tr align="center">
					<td class="m_r" colspan="2">欢迎使用集群监控系统</td>
				</tr>
				<tr>
					<td height="140" width="50%" align="right"><strong><font size="6" face="方正姚体" color="grey">用户名：</font></strong>&nbsp;&nbsp;</td>
					<td align="left"><input type="text" name="userid" size="10" onKeyDown="javascript:KeyDown(event)" /></td>
				</tr>
				<tr>
					<td height="40" align="right"><strong><font size="6" face="方正姚体" color="grey">密码：</font></strong>&nbsp;&nbsp;</td>
					<td align="left"><input type="password" name="password" size="10" onKeyDown="javascript:KeyDown(event)" /></td>
				</tr>
				<tr><td>&nbsp;</td></tr>
				<tr align="center">
					<td align="right">
						<input type="button" value="登录" onclick="subLogin.submit()"/>&nbsp;&nbsp;
					</td>
					<td align="left">
						<input type="button" value="注册" onclick="javascript:window.location='register.jsp'"/>
					</td>
				</tr>
			</tbody>
        </table>
        </form>
        </td>
	</tr>
</tbody>
</table>
<script type="text/javascript">
	function KeyDown(event)
	{
    	if(event.keyCode==13)
    	{
        	window.document.subLogin.submit();
    	}
	}
</script>
</body>
</html>